package com.woniuxy.background.service;


import com.woniuxy.background.pojo.Log;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface LogService {
    void saveLog(Log log);

    int deleteLog(Date time);

    List<Log> queryLogsByPage(@Param("currentPage") Integer currentPage, @Param("pageSize") Integer pageSize, @Param("username") String username);

    void batchDeleteLog(List<Integer> list);

    int deleteByPrimaryKey(Integer logId);
}
